#include "page3_widget.h"
#include "welcome_widget.h"

Page3_Widget::Page3_Widget(welcome_Widget *widget)
{
    this->welcomewidget = widget;
    welcome_ui = this->welcomewidget->ui;

    connect(welcome_ui->pb_msg_clear,SIGNAL(clicked()),this,SLOT(on_pb_msg_clear_clicked()));     //建立信号槽
}

Page3_Widget::~Page3_Widget()
{

}



void Page3_Widget::on_pb_msg_clear_clicked()
{
    welcome_ui->plainTextEdit_iot_data_display->clear();
}


